<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DoctorMenu.ascx.cs" Inherits="includes_DoctorMenu" %>
<%if (!doctorCenter & doctorWithProfile==false)
  { %>
<h2>Welcome, Dr. <asp:LinkButton ID="LinkButton1" runat="server" CssClass="link-top" OnClick="lnkEdit_Click"><%=Session["LoginName"]%></asp:LinkButton></h2>

<h6 style="float: right">
    <asp:LinkButton ID="LinkButton2" runat="server" Visible="false" OnClick="lnksignOut_Click">Sign Out</asp:LinkButton></h6>

<%} %>
<%else if (doctorCenter==false & doctorWithProfile == true)
  { %>
<h2>Welcome, Dr. <asp:LinkButton ID="LinkButton3" runat="server" CssClass="link-top"><%=Session["DoctorNameeee"]%></asp:LinkButton></h2>

<h6 style="float: right">
    <asp:LinkButton ID="LinkButton4" runat="server" Visible="false" OnClick="lnksignOut_Click">Sign Out</asp:LinkButton></h6>

<%} %>


<table width="525" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td align="left" style="height: 50px">
            <table width="525" border="0" cellpadding="0" cellspacing="0">
                <%if (doctorCenter)
                  { %>
                <tr>
                    <td style="color: #000000; height: 19px;">
                        <!--img alt="Doctor Center" src="<%=Session["strHttp"]%>images/doctor-center.gif" /-->
                        <span style="font-size: 20px" class="page-heading">
                            <asp:Label ID="lblMenuHead" runat="server"></asp:Label></span>
                    </td>
                    <td align="right" style="height: 19px">
                        <!--img alt="Doctor Center" src="<%=Session["strHttp"]%>images/welcome-shaw.gif"/-->
                        <span style="font-size: 20px" class="page-heading">Welcome,&nbsp;</span>
                    </td>
                    <td>
                        <span class="page-heading">
                            <asp:LinkButton ID="lnkEdit1" runat="server" CssClass="link-top" OnClick="lnkEdit_Click" Font-Size="14px"><%=Session["LoginName"]%></asp:LinkButton></span>
                        &nbsp;<asp:LinkButton ID="lnksignOut" Visible="false" runat="server" OnClick="lnksignOut_Click">Sign Out</asp:LinkButton>
                    </td>
                </tr>
                <%} %>
                <%-- <%if (!doctorCenter)
                  { %>
                <tr>
                    <td>
                        <span class="link-top">You are logged in as <b>Dr.
                            <asp:LinkButton ID="LinkButton1" runat="server" CssClass="link-top" OnClick="lnkEdit_Click"><%=Session["LoginName"]%></asp:LinkButton></b>

                            &nbsp;<asp:LinkButton ID="LinkButton2" runat="server" Visible="false" OnClick="lnksignOut_Click">Sign Out</asp:LinkButton></span>
                    </td>
                </tr>
                <%} %>--%>
            </table>
        </td>
    </tr>
</table>
